using JTZY.Model.Business.Dto;
using JTZY.Model.Business;
using JTZY.Model.System.Dto;
using JTZY.Model.System;

namespace JTZY.Service.Business.IBusinessService
{
    /// <summary>
    /// 用户表service接口
    /// </summary>
    public interface ICorecmsuserService : IBaseService<Corecmsuser>
    {
        PagedInfo<CorecmsuserDto> GetList(CorecmsuserQueryDto parm);

        Corecmsuser GetInfo(int Id);


        Corecmsuser AddCorecmsuser(Corecmsuser parm);
        int UpdateCorecmsuser(Corecmsuser parm);
        int ApproveUser(Corecmsuser model);
        int DeleteCorecmsuser(long[] Id);
        Corecmsuser Login(LoginBodyDto loginBody, SysLogininfor logininfor);
        int ResetPwd(long userid, string password);
    }
}
